package com.newcoin.xgb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * (XgbBonusRecord)实体类
 *
 * @author makejava
 * @since 2020-04-04 14:37:41
 */
@Data
public class XgbBonusRecord implements Serializable {
    private static final long serialVersionUID = -31075527261464041L;

    @TableId(type = IdType.ID_WORKER_STR)
    private String id;
    /**
    * 用户id
    */
    private Long userId;
    /**
    * 奖金金额
    */
    private BigDecimal amount;
    /**
    * 奖金类型
    */
    private Integer type;

    /**
     * 奖金名称
     */
    private String bonusName;
    /**
    * 时间
    */
    private String createDate;

    /**
     * 抢单收益来源
     */
    private Long fromId;
}